import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css/normalize.css'
import ElementUI from 'element-ui'
// import { Button, Input, Form, FormItem, Menu, MenuItem, MenuItemGroup, Submenu, Col, Row, Switch, Tree, DropdownItem, DropdownMenu, BreadcrumbItem, Breadcrumb } from 'element-ui'
import animated from 'animate.css'
import VueSweetalert2 from './plugins/vue-sweetalert2'
import 'font-awesome/css/font-awesome.min.css'
import '@/styles/index.scss' // global css
import './permission'
import api from './http'
Vue.config.productionTip = false
Vue.use(ElementUI)
// Vue.use(Form)
// Vue.use(Button)
// Vue.use(Input)
// Vue.use(FormItem)
Vue.use(animated)
Vue.use(VueSweetalert2)
// Vue.use(Menu)
// Vue.use(MenuItem)
// Vue.use(MenuItemGroup)
// Vue.use(Submenu)
// Vue.use(Col)
// Vue.use(Row)
// Vue.use(Switch)
// Vue.use(Tree)
// Vue.use(DropdownItem)
// Vue.use(DropdownMenu)
// Vue.use(Breadcrumb)
// Vue.use(BreadcrumbItem)
Vue.use(api)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
